package com.example.demo.isnull;


import cn.hutool.core.util.StrUtil;

public class StringNull {
    public static void main(String[] args) {
        Long i = null;
        System.out.println(i==null);
        if(i==null){
            System.out.println("Long 类型为空");
        }
        System.out.println(StrUtil.isNotBlank(String.valueOf(i)));
        System.out.println(StrUtil.isBlank(String.valueOf(i)));
        System.out.println(StrUtil.isNotEmpty(String.valueOf(i)));
        System.out.println(StrUtil.isEmpty(String.valueOf(i)));
    }
}
